﻿using Newtonsoft.Json.Converters;
using System.Text.Json.Serialization;

namespace TimServerSDK.Core.Enums
{
    /// <summary>
    /// 申请加群处理方式
    /// </summary>
    [JsonConverter(typeof(StringEnumConverter))]
    public enum TimServerApplyJoinEnum
    {
        /// <summary>
        /// 自由加入
        /// </summary>
        FreeAccess,

        /// <summary>
        /// 需要验证
        /// </summary>
        NeedPermission,

        /// <summary>
        /// 禁止加群
        /// </summary>
        DisableApply
    }
}
